automatically populate new window and convert to coding error