Changed 'constrainted' to 'constrainted' and updated KE