removed optimizing for debugging