correctly determine elgible outputs
add logic to combine like item stacks