Added -i option and cleaned up output
intentionally broken