added register library stub