Added initialize vars method