added functionality for newi