trap obkect init