Simple cases working from sample program