Pass buffer length to Customer_Statement function