add constructor with container for all elements