Document development
Fix boolean logic