Add random commit function