The two types of mortgages are