added div31 function that compiles but doesn't work