removes a useless check
adds a contructor for list