Debug code moved around from last night