added pitch stuff