Fixed K closure, commented out test code