working dummy with right encoding