Add console.log shorthand and fold flipping method