added author function