on the client. this is serverside code, and will always be defined.