old-skool location support for compatibility