Removed some unnecessary code from slides