corrected
used attr_writer, removed modify_price
optimized
fixed issue of negative numbers