added true operation
implemented select operation