Adding Data's Code for constructor