organize the checkaction better