trying to get around flask request processing