added forks support