Freelist handling implemented