Sample added for isInstance