implemented buy -s