added universal support for ipad & iphone