added Cart functional