adapted example setup