add element inner method