a stupid logic