I don't understand your idea. But I found some redundant checks