use lambdas for subscribing