assign variable to receive data fro library