Working on perameters, hash still has small bug at max end points