type casted function inputs as list