add all the stuff necessary to put on component