parsing input params
forking