added some return status checking on the methods implemented