working on progress tracker logic