added robot door code