Copied server rules from week1 section6