added more functionality to profile