now with outputs