Function name changed
Minor changes to work with robot