added new constructor to freelist