Her mother came back while she ( )her homework A did B doing