added output rule

too bad it's still not working