separated focal point handling into a class