output maps are also created here