first version of checking action