complete declare and assign statement