implemented and fixed centering/alignment