titles logic finiliazed
added input display