Added logic and comparison operators