merged with current openimaj