Added First Draft for the first 3 functions that are needed