Submitted version.

Signed-off-by: lagoudakis <lagoudakis@intelligence.tuc.gr>