use 3 attr instead of if statement for item.progress