Changed code to parse data of form 3