working accordion with room for improvement