More spaghetti code.