new commit, addidng ajax functionality