implemented and tested robbing