implementing variables