Adding functionality to Library