pre dojo code