deprecated method replaced with express()