changed console to infinite mode