But it is working. This method is used only after form is submited.