remove useless comments
Extract cart code