Double Variable Functions Definition