implemented oneStep with functions. Added moveToFunc as new helper function. fixed format for function implementation in Overview