precompute and SQL done