Implemented external functions