modifiying demo app