Why on earth does it hate this class