check required before save
added more custom methods for resources