started implementing custom entity