Template matching first simple attempt