Building frames based on notes