How to write SOPs faster