appid is also a variable