Added working example and fixed bug in author extraction