Split the in and output in the if1 reference for a better overview