using -- to split element from list