rewrite class / create profile method