changes to endtest