added facility to get players