added input focus