handle variable defense