adjusted some constants