Starting work on inventory and stack

- Additionally, remove unused local variable