Resolves #10: Additional funtion added with docs and tests