removed unnecessary wait-states
doxygen documentation added