moved LifecycleQueries