Adds functionality for alignment