devlared the vars as array