provide the non-ajax mode