code alignments fixed