added robber fn