added more code to ZCpu