working on model checking