added stuff to functions