experiment with functions- author class