Added code for mock profile