Basic implementation of in and out nodes