rm debugging and testing stuff