added get pods function