quantum leap server side code