second chapter - demo app