Added null check samples