sample functionality of doing profiling added