add data and changes to kernel