adjusting library interface #2