Horrible hack