Making items stack in output