Adds a sample