added pattern and font