made istyping... detection attribute based