A classification of centers