buggy code to fix world repeating issue, still borked tho