finished food scale code