added active and focus