may not be correct, but i can debug it which is most important for me.