adding more things for input availability functionality