ugly hacking to run the code on my K2 data