Removing nil, false and reverse method added