added getAll function to language