bugs fixed will test regex functionallity