connected with william's code