Ghouls function added