will print required elements