added intent var