fixed minor bug
more changes to sync with DE2
working well, i sleep now