add center method