add button functionallity
add net, fix no input bug