Finish basic function for client