Set theta as a variable