why is the simplest program failing