Implementing initialization of variables in declaration