updated check in method