Setting seed properly