Smart fold