an example exploring various corner cases