placed in some basic code to accommodate some basic routing rules