added wrap method
wrapped div around input