Added inventory functionality