example code for operating with guava library