adding required checks