robot wait
error handling