comments added to global functions