adding warnings for depricated parameters