updated to have configurable author class