readded ajax for debugging