checking in ramit's functions