added helper.cpp