kotlin extractions: !!. and when