need to get deeper into the functions