import: url, simplify code