able to add profile with profile.java