filled some basic stuff into changeNS function