taking out libkey