cast input works!