add declaration for get_forks and release_forks