various game utilties