sharing sample
mostly functioning imll
Raw impl, mostly functional