aligned again main code