so the 500 error was caused by a ; in my array, it is always the simple things isn't it. anywho it seems to be working, still waiting for a pull request from the lady