added impl syntax
fixed some bugs with lists