switched from atom typ variable