Added missing func variable