added c method prototype to silence warnings