half implemented writeresult stage. Load store still to be figured out