Restructuring get_work a little to be clearer.