made save method work with annotation based value provision