small tasks placed to the functions