Left in undeclared method and printf