Substitute Functions added