added intent flags