working on processor, tryin to integret into toplevel