upd
added input
upd
fixes part1