added keys to methods for flexibility