Put factory pitfall example before promises