attempted to add slide counter