refactor completed attribute of status