added keys method
added clear method