made a preSave method for hooking validation into.