implemented eval test & code