implimented expanding and contracting forms for a new collection; has some bugs