skeleton code for request handlers