removing the status line, adding regexp magic