There are four main functions