Added Vertical Align, implemented extends