skeleton + old implementation.