changed more names of function to avoid syntax error