Add dynamic alignment