Updated main and provided for generic author