moving topics code away from explore