Smart casting (8/35)

Smart casting