starting entity hooks