using a clever idea to get the class prefix of the project