Added compositional lapply function