The secret science behind miracles