Added pointer return, with basic test for the slides