added support for alignment in tables