make sure to parse strings to integers