backend code for feature-library