Testing function added