Define variables correctly