merging nicks import code