int method, better at debugging