also (int) in the 16th line has been unavoidable for me to make this code work since I wanted to work with numbers