method "get" got a function