A powerful 6.4 magnitude earthquake struck the popular tourist destination of Lombok in Indonesia on Sunday, killing 10 people and damaging many buildings, authorities said.

The quake hit Lombok island early in the morning when many people were still sleeping. Around 40 people were injured and many fled into open fields away from collapsed buildings.

“We jumped out of our beds to avoid anything falling on our heads,” said Jean-Paul Volckaert who was woken by the quake while sleeping in the Puncak Hotel near Senggigi on Lombok.

“I’ve been walking around but so far there is no damage. We were very surprised as the water in the pools was swaying like a wild sea. There were waves in the pools but only for 20 to 30 seconds,” he told Reuters via telephone.

“The people in the villages may have damages. It’s still early morning here.”

The quake was centered 50 km (31 miles) northeast of the city of Mataram on the northern part of Lombok island, the U.S. Geological Survey (USGS) said.