Behavior fully documentet. Exported functions remain to be documented