use int instead of float for id, and use default values for origin and priority