implemented declaration and assignment of variables