Documentation is sexy
Fix wrong logic