added documentation
renamed candidate to robot