Added url param check (for method testing)