writing first input