working on food scale code