start using fetch instead of conditionals