cleaned up code
cleaned up int array syntax