new approach for logical operations
updated README