Agreed, this is ugly