checking get/set functions