add logic for forks/joins
rm unused code
bump version