Shell for boolean logic