Once again removed code that has been factored out into interactions.js