The very usefull function added