initial world check code