adding maths code for alignment.