classes will not be added more than once