fixed main
fixed main
add form and validation