Adding four functions by broff