added inventory layer.