added testing constructor