trying out one more thing before switching to return JSON rather than HTML