create code to add data