Improve some of this terrible code