add save to the gem