Probably worth adding query limiting too.