edit client.c to have 4 inputs