Made changes to last three functions