putting back original constructor so that unit test passes