Avoided indented code; better for iphone