Terrible function added