added inputs outputs