input params parsing