alignment and display working properly