curly lib