cleaned up higher level/executable code