sync

correct function names and parameters