implementation of aRobber functionality draft #1