floated ints in constructors, turned structs into classes