added support for mixed underscore and normal function