added keys and note models/collections and use them