removed deprecated constructor