instructions for extending library