but then you're coupling with http vs a method call