list accept list in constructor