added stupid center method