removing throw from testing