updated module to accept nick arg