new way of setting center