work in progress for variables manipulation