in/out working, time to debug functionality.