improve functions notes