Refactored numItems to more descriptive buffer_length. Added a position to success output.