added option to set amount to take items