Created function

Function is created for wacky directory