created initial composite pattern