change method from helper to form