additional test finds incomplete implementation
declaring variable only once