Use getStatements[0] instead of relying on the first statement being the first child