added pattern for ipad