5: initialize int, and fix validity