Custom classes example