Added in type check for chest