item checkout feature added + code cleanup