added intent interface for adding data