Implemented inser for leaves