using REs now and it works