id's changed to string; placeits refactered