Now fully functional in MySQL with one entry