changing pattern behaviour