modification to act like instacheck