show logic