Add sale function (not complete yet)