what are the three types of income