added 'smart cart' features