added url as a parameter - see issue #16