adding java 8 lambdas and devices session