trying to solve the url restler bit.