function name changed, input extracted in a variable