changed over code to profileViewController