mysql version mambo jumbo! needs heavy testing and refactoring before production use!!!