Write some guild code