made gilbert class functions