add handler for get method