new funtion: entering single url