changed calls to components e.g. findPage not findAllPages
renamed functions e.g. findPage not findAllPages