changed to use Nancy