add ref
profiling instructions
added more testing utils