type casting reviewed

type casting reviewed.