FIXED: do not match whole input