set variables correctly, without knowing what I'm doing wrong...