Moving out a lambda, testing for linux issues