added skeleton legacy code