converted to YARD syntax