remove all comments
add empty line to improve readble
refactor function infoNum to getCartEntries