work on bob problem