removed calls to global function files