added functionality for the powerpoint