re-arranged world functions