Gergely's work