added some template for beat recognition