Added error for unknown variable