Only initialize what is needed