Now the call to checkURL method is in init()