Added comments all exported functions