N queens revised