added alveoli function, this is still incorrect, need to fix