functions for neckersd project