added data structures and multi threading to the resume