Use method reference  in declarative implem