controller properly javadoced; checkinput() validated