What constitutes a legal system