added int parsing