fixed double $ typo, changed paramter to be what it is..really