Fixed bug, using functions instead of alignment class.