made usertype a constructor parameter and reduced getReport args to 1