trying to keep url data passed in as dict