added size attribute in search model