adding off threading of input