Finalised the terminal section