create instances in static block