using a fork in different ways