added inventory fx functionality