adding constructor casts