turn list into elements