Added new functions. See readme