added the functions to the practice_old