get function complete covered