add focus logical