trying to make closures