form finally working