working on html part of input