todo: add JAVACV + get rid of timer