changed the core form matrix to list