simply added the functions used