wrote example fetch controller and view