checking the fork mechanism