helper for board alignment