pre for input