refactored getall
before merging
a
synced before merging