Adding center function back in.