Specification otpimisation