Switch integer to int and fix indentation