done validation which was a massive pain in the arse