micro optimizations
Using grep instead of smartmatch oprator(~~)