removed unnecessary outside access to private functions