Add default case when loop on the value