name 'do' is not defined