randomline added, will ad time tests later