Added align function, align example