support calling multiple functions
support opening multiple libraries