updated main activity, added text inputs