template matching is working. no transform yet