refactored from laptop configuration