gets functions