Added players function to object db