Adding function

PS: image too big