fixing helper function name