change MyProfile.java to fit old dataset