Added functions from interface and from the