made regex better