Fix #3

Fix the warning by re-declaring the function