app is not a constructor