a port of EView to rust