changed technique again. now regex