allow adding stock and some small fixes