Commenting for clarity. Added parameters to the function so that we can adjust the incoming data and the seat type later