A flexible approach to remote learning