updated kernel, added loop to make more work