Made all api view functions two lines