added the base code that you gave us on the hw server