Issue #277 - Adding function