Added matrix structure