Fixed type casting to be passed into constructor -Bader