add ability to handle urls