data structures and some new operations added