implement interface through get method