created all the stuff needed