patterns inside