GCS calculation now works