initialize variables in 'onCreate' method