renamed incorrect constructor params