created new functions inside irreco_theme.c