start using amount class in drop lib