calculates amount/price on creation
Merge origin/master