adding back deprecated constructor