It'd be nice to not run the query twice.