put delegate classes inside the Curly class