changed get method to serve