now works with multiple presentations