implemented new forms api