Implement the OSTree (insert and select)