new get handler function