Added var to get input numberOf