add expanding/contracting, closes #53