removed duplicate constructor