fix construct()
unfinished
used to test list class