Inner Classes: closure as callbacks