add openUrl method for base class