Change bool to int in interface