Fixes #1
Profiler added, fix issue #1