please we must write ajax for this to work right