Proper separation of concern