BUG: should use the first list element