Implement raw mode