adding simple handling of requests