do get functions and test get functions

- test ok