modified functions file