changed type of grace field from str to int