make focus/blur functions that can be called