allocate variables