corrected for the return type of compound expressions; added urls as potential input id