changes of types in 'add_buy'