added routing functionality