anonymous class attempt 1