Move instance variable outside logic