handling of percepts, added comments for things to do