added pick command
added inventory function