use from for cast
tests