do you need int(str( here rather than just int()?