added template for response + added methods