renamed fees to fees_amount. Fixed logic. closed #5