ajax added, a lot to repair