add complex initialization for vars