usage for get_pin