added intent api