Added functions for OI