SELECTING REUSABLE STAND-ALONE ROUTINES: A PROPOSAL AND A CASE STUDY