added support for front/back labels
added support for index with repect to total: current/total