Making func public