got rid of url variable