all this math just to hard code a value