finish entity