casted all values to ints to sent back to master pic