Coded up slide functions and index setter