working on implementation of lists