complete item logic