Updating some of erics functions