HOUSTON (CBSDFW.COM/AP) — “Sometimes, life gives you lemons. Sometimes, it gives you bananas.” Authorities say bananas donated to a Texas prison turned out to have nearly $18 million worth of cocaine hidden inside the boxes.

The Texas Department of Criminal Justice says in a Facebook post that the drugs were found in two pallets of bananas that were donated because they were already ripe. The donation arrived Friday.

The department says sergeants who picked up the boxes found a bundle of a white powdery substance under the bananas. U.S. customs officials were called to the scene, and authorities say 540 packages of cocaine were found in 45 boxes of bananas.

The department says federal officials and the U.S. Customs and Border Protection are investigating.

(© Copyright 2018 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)