correct helper functions section