layout converted to Xcode 6