Report function added