working on ctor using initializer_list