checked the return of the functions