refactoring of elaboration
finishing elaboraitons is now broken because of the set point js function