declare and define var