work on finding patterns