started adding anvanced functions parameters