moving check of then