master
// TODO do we care about errors here?
// TODO: can we avoid this brute force approach?
// TODO: I'm so sorry for this... Can this be made cleaner?