Casts properly when calling method
Works