what is this logic