Working alignment, passes tests