add alignment, add a little documentation