Getting stuck with method reference