same format for input