Altering decorate to use stdin