Factorize Parameters between desktop & mobile