moved type casting to Argument. Screenshots added