implemented fork to begin taking user input