code refactor for project items