spec in/out layouts