updated align method.  still WIP