Creating UV LFs and mass functions