added check goal