not needed type casts removed