removing silly resolvesources function. Unix does that.