refactored to back end focus