Move variable definition
Array check