added calivins code

-line alignment
-extended lines