Casting the Input Type