Setup Input
add txt and main changes