sorry, just noticed the val redirect = ..., i was looking for def redirect.