added option to not center the data