cleaned up pyelan for sumoduling