this is an improved version of the hungry-app