enumerate elements instead of * regarding to performance in gecko