using list parameter

Change-Id: If099c14b5c251ab06d96a2c8e862fac044e8ebcd
Signed-off-by: javiosyc <javiosyc@gmail.com>