Here, in first function, you may keep the record of available books and other materials like journals etc, where as Interface() and space() functions are out of context. Please discuss these in some context, then, i think you will get a better solution. Thirdly, add() in context of Library Managment System gives functionality to add new book or any other material.