you need to extract this anonymous function to a method, and still call it froml init.