adapted for iphone view