Fixed the method so that it does recognise all the staves. Today's objectives are met!