handle variables