Modularize serial operations