align function structure